package com.zqq.goods.ui.activity

import android.os.Bundle
import com.alibaba.android.arouter.facade.annotation.Route
import com.zqq.baselibrary.ui.activity.BaseActivity
import com.zqq.goods.R
import com.zqq.goods.ui.fragment.CartFragment
import com.zqq.provider.router.RouterPath

/***
 * 购物车Activity：只是Fragment一个壳
 * wc
 */
@Route(path = RouterPath.GoodsCenter.PATH_CART)
class CartActivity : BaseActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_cart)

        var fragment = supportFragmentManager.findFragmentById(R.id.fragment_cart)

        (fragment as CartFragment).setBackVisible(true)
    }
}
